/**
 * 
 */
package kr.co.insoft.core.service.template.application;

import java.util.List;
import java.util.Map;

import kr.co.insoft.core.model.template.application.ParamEntityModel;
import kr.co.insoft.framework.exceptions.ServiceException;

import org.springframework.transaction.annotation.Transactional;

/**
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
public interface ParamService {
	
	/**
	 * Param 목록
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public List<ParamEntityModel> getList(Map<String, Object> param)
			throws ServiceException;
	
	/**
	 * Param 등록
	 * 
	 * @param paramEntityModel
	 */
	@Transactional(rollbackFor = ServiceException.class)
	public void createParam(ParamEntityModel paramEntityModel)
			throws ServiceException;
	
	/**
	 * Param 조회
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public ParamEntityModel getParam(String paramid)
			throws ServiceException;
	
	/**
	 * Param 삭제
	 * 
	 * @param paramEntityModel
	 * @return
	 * @throws ServiceException
	 */
	public void doRemoveParam(String eventid)
			throws ServiceException;
	
	/**
	 * Param 수정
	 * 
	 * @param paramEntityModel
	 * @return
	 * @throws ServiceException
	 */
	public void doEditParam(ParamEntityModel paramEntityModel)
			throws ServiceException;
	
	/**
	 * Param Name 중복 체크
	 * 
	 * @throws ServiceException
	 */
	public boolean isExistParamName(ParamEntityModel paramEntityModel)
			throws ServiceException;


}
